home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0088.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.2 KB  |  42 lines

  1.  
  2. Hello!
  3.  
  4.  > I want to read the date in my computer with amos  without using 'copy
  5.  > date to ram'
  6.  > I did get some answer before but I couldn't get it to work.
  7.  
  8. Get AMCAF extension from Aminet: it has a very useful set of commands to
  9. handle dates.
  10.  
  11. =Current Date : returns the date. It's a number counting days from 1-1-78.
  12. =Cd Day(x)    : returns the day.
  13. =Cd Month(x)  : returns the month.
  14. =Cd Year(x)   : returns the year.
  15.  
  16. So try:
  17. X=Current Date
  18. Print Cd Day(X);"/";Cd Month(X);"/";Cd Year(X)
  19.  
  20. to have the whole date.
  21.  
  22. Bye
  23.  
  24.  
  25.     berionne@flashnet.it                        >>Bomb!2.0<<
  26.   +--------------------------ON AMINET----------------------------+
  27.   | game/think/VenusTris.lha         game/misc/SnailRace.lha      |
  28.   | game/shoot/fantasy.lha           util/time/MReminder.lha      |
  29.   | game/think/Atoms31.lha           util/misc/Dialer2.lha        |
  30.   | game/think/navalbattle.lha       game/think/Manos.lha         |
  31.   | game/shoot/in_the_target.lha     dev/lang/Logo1_4.lha         |
  32.   | gfx/show/PhotoCDAGA_GUI.lha      dev/lang/Logo1_4Eng.lha      |
  33.   +---------------------------------------------------------------+
  34.   |   BASIC programmers never die, they GOSUB and don't RETURN.   |
  35.   +---------------------------------------------------------------+
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.